﻿using System;
using System.Collections.Generic;
using System.Text;
using Volo.Abp.Domain.Entities;
using Volo.Abp.Domain.Entities.Auditing;
using Volo.Abp.MultiTenancy;

namespace Himp.Outpatient
{
    /// <summary>
    /// 门诊申请单详细
    /// </summary>
    public class OtpAppyFormDetl : Entity<Guid>, IMultiTenant
    {
        /// <summary>
        /// 门诊申请单Id
        /// </summary>
        public Guid OtpAppyFormId { get; set; }

        /// <summary>
        /// 门诊申请单
        /// </summary>
        public OtpAppyForm OtpAppyForm { get; set; }

        /// <summary>
        /// 序号
        /// </summary>
        public string IndexNo { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public Guid PubItemId { get; set; }

        /// <summary>
        /// 公共项目编码
        /// </summary>
        public string PubItemCodg { get; set; }

        /// <summary>
        /// 公共项目名称
        /// </summary>
        public string PubItemName { get; set; }

        /// <summary>
        /// 样本类别编码
        /// </summary>
        public string? SpcmTypeCodg { get; set; }

        /// <summary>
        /// 样本类别名称
        /// </summary>
        public string? SpcmTypeName { get; set; }

        /// <summary>
        /// 部位
        /// </summary>
        public string? ExamPart { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        public int Cnt { get; set; }

        /// <summary>
        /// 零售单价
        /// </summary>
        public decimal Pric { get; set; }

        /// <summary>
        /// 预约时间
        /// </summary>
        public DateTime? OrdTime { get; set; }

        /// <summary>
        /// 诊间
        /// </summary>
        public string? OperRmCodg { get; set; }

        /// <summary>
        /// 诊间
        /// </summary>
        public string? OperRmName { get; set; }

        /// <summary>
        /// 审核医师
        /// </summary>
        public string? ChkDrCodg { get; set; }

        /// <summary>
        /// 审核医师
        /// </summary>
        public string? ChkDrName { get; set; }

        /// <summary>
        /// 审核时间
        /// </summary>
        public DateTime? ChkTime { get; set; }

        /// <summary>
        /// 执行时间
        /// </summary>
        public DateTime? ExecTime { get; set; }

        /// <summary>
        /// 执行医师
        /// </summary>
        public string? ExecDrCodg { get; set; }

        /// <summary>
        /// 执行医师
        /// </summary>
        public string? ExecDrName { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public Guid? TenantId { get; set; }
    }
}
